###out:src/main/java/${config.basePackageName?replace(".","/")}/${config.modulePackageName?replace(".","/")}/${config.entityPackageName?replace(".","/")}/${root.beanName}.java
package ${config.basePackageName}.${config.modulePackageName}.${config.entityPackageName};

import java.util.Date;
import java.util.List;

import ${config.basePackageName}.${config.modulePackageName}.common.persist.BaseEntity;


/**
 *${root.tableComment} 实体类
 * @author:${config.authorName} 
 * @createTime:${config.createTime}
 * @version:${config.version}
 * @table:${root.tableName}
*/
public class ${root.beanName}  extends BaseEntity<${root.beanName}> {
    <#list root.tableColumns as column><#if column.propertyName != 'id'  
    && column.propertyName != 'delflag'   && column.propertyName != 'create_time'   && column.propertyName != 'update_time'   
    && column.propertyName != 'extid'   && column.propertyName != 'createby' && column.propertyName != 'createdate'  && column.propertyName != 'updateby'  && column.propertyName != 'updatedate'  && column.propertyName != 'remarks' >
    private ${column.propertyType} ${column.propertyName}; //${column.columnComment}
    </#if></#list>

    /*----------------------get set 方法----------------------*/
      <#list root.tableColumns as column><#if column.propertyName != 'id'  
    && column.propertyName != 'delflag'   && column.propertyName != 'create_time'   && column.propertyName != 'update_time'   
    && column.propertyName != 'extid'   && column.propertyName != 'createby' && column.propertyName != 'createdate'  && column.propertyName != 'updateby'  && column.propertyName != 'updatedate'  && column.propertyName != 'remarks' >
    public ${column.propertyType} get${(column.propertyName)?cap_first}() {return ${column.propertyName};}
    public void set${(column.propertyName)?cap_first}(${column.propertyType} ${column.propertyName}){<#if column.propertyType == 'String'>this.${column.propertyName} = ${column.propertyName} == null ? null : ${column.propertyName}.trim();<#else >this.${column.propertyName} = ${column.propertyName};</#if>}
    </#if></#list>
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "${root.beanName}{" +
        <#list root.tableColumns as column>
        "${column.propertyName}='" + get${column.propertyName?cap_first}() + '\'' + <#if column_has_next>',' + </#if>
        </#list>
        '}';
    }
}